UsbHost.TransSetupIn
Transfers a SETUP transaction with a IN DATA stage.
Properties
- Command code: 0x4407
- Command timeout: 100 ms
- Possible status codes: General status codes, UsbHost.UsbhstErrNotconnected, UsbHost.UsbhstErrTimeout, UsbHost.UsbhstErrNack, UsbHost.UsbhstErrStall, UsbHost.UsbhstErrTransfer, UsbHost.UsbhstErrUnexpectedPkt, UsbHost.UsbhstErrBufferoverflow
Parameters (request frame)
Name | Type/Size | Description |
---|---|---|
SetupData | Raw data (length 8 Bytes) | Data to transfer in SETUP stage. |
PipeNo | Integer (8 bits) | Number of pipe. |
Timeout | Integer (16 bits) | Timeout for transaction. |
Returned values (response frame)
Name | Type/Size | Description |
---|---|---|
Length of InData | Integer (16 bits) |
Length of InData in bytes |
InData | Raw data | Resulting data. |